package com.eduran.test.main;

import com.eduran.test.model.FruitBasket;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class SettingListProperties {
    public static void main(String[] args) {

        ApplicationContext context = new ClassPathXmlApplicationContext("SettingListProperties.xml");
        FruitBasket basket = (FruitBasket)context.getBean("basket");
        System.out.println(basket);
        ((ClassPathXmlApplicationContext)context).close();
    }
}
